@import "var.scss";
@import "global.scss";

.my-music {
  padding-top: $header-height + 150px;
  background-color: $theme-background-color;

  &::before {
    /*背景*/
    content: "";
    background-color: $theme-color;
    position: absolute;
    top: 0;
    width: 100%;
    height: $header-height + 150px;
  }

  .section {
    width: 100%;
    background-color: rgba(254, 254, 254, 0.73);
    margin-top: 20px;
    padding: $content-padding;
    box-sizing: border-box;
    .section-title {
      height: 60px;
      line-height: 60px;
      padding-top: 10px;
      font-size: 28px;
      font-weight: 500;
      text-align: center;
      color: $color-blue-dark;
      box-sizing: border-box;
    }
  }
}

/*左侧*/
.album-slide {
  float: left;
  width: 400px;

  // 图片
  .album-img {
    height: 200px;
    width: 200px;
    display: inline-block;
    position: relative;
    top: -100px;
    left: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid $color-white;
    img {
      width: 100%;
    }
  }

  /*信息*/
  .album-info {
    color: $color-blue-dark;
    width: 250px;
    font-size: 20px;
    font-weight: 500;
    margin-top: -100px;
    margin-left: 46px;
    padding: 30px 30px;
    li {
      width: 100%;
      line-height: 40px;
      .new-btn {
        border-radius: 6px;
        height: 35px;
        width: 100px;
        margin-top: -15px;
        border: 0;
        background-color: #e0ecfd;
        color: $color-grey;
        font-size: 18px;
      }
    }
  }
}

/*歌单内容*/
.album-content {
  margin-left: 300px;
  padding: 40px 100px;
  /*歌单题目*/
  .album-title {
    color: $color-blue-dark;
    font-size: 20px;
    font-weight: 600;
  }

  .songs-body {
    margin-top: 50px;
  }
}

/*搜索*/
.my-search {
  @include layout;
  padding: 10px 0;
  overflow: hidden;
  height: $header-search-height;
  input {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
    background-color: #e0ecfd;
    width: 200px;
    font-size: 18px;
    border: 0;
    text-indent: 10px;
    &:focus {
      outline: none;
    }
  }

  .search-btn {
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
    background-color: #e0ecfd;
    @include layout(center, center);
    width: 30px;
    cursor: pointer;
    .icon {
      @include icon(1.1em, $color-blue-dark);
    }
  }
}
